﻿using System.Collections.Generic;
using System.ComponentModel;

namespace UserManage
{

    public class UserConfig
    {
        public BindingList<UserInfo> List1 { get; set; } = new BindingList<UserInfo>();
    }

    public class UserInfo
    {
        public string Id { get; set; }

        public string User { get; set; }

        public string UserName { get; set; }

        public int Level { get; set; }

        public string LevelName { get; set; }

        public List<Visit> Visits { get; set; }
    }

    public class Visit
    {
        public string Key { get; set; }

        public HashSet<string> Names { get; set; }

    }
}
